﻿namespace ASmile.Com
{
    /// <summary>
    /// 公共所用Id
    /// </summary>
    public class ArgId
    {
        public ArgId() { }

        public ArgId(string id = null)
        {
            Id = id;
        }
        public string Id { set; get; }
    }
    /// <summary>
    /// 科室Id
    /// </summary>
    public class ArgDeptId
    {
        public string DeptId { set; get; }
    }
    /// <summary>
    /// 业务主记录Id
    /// </summary>
    public class ArgMainId
    {
        public ArgMainId() { }

        public ArgMainId(string id) { MainId = id; }

        public string MainId { set; get; }
    }
    /// <summary>
    /// 交换排序参数
    /// </summary>
    public class ArgSwapOrderNo
    {
        public string SrcId { set; get; }

        public int SrcOrderNo { set; get; }

        public string TarId { set; get; }

        public int TarOrderNo { set; get; }
    }
    /// <summary>
    /// 设置排序号
    /// </summary>
    public class ArgSetSortNo
    {
        public string Id { set; get; }

        public int SortNo { set; get; }
    }
    /// <summary>
    /// 用于固定加上上级主Id的分页查询参数，如：查询角色用户，MainId为角色Id
    /// </summary>
    public class ArgMainPageData : ArgPageData
    { 
        public string MainId { set; get; }
    }
}